package cn.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
    * 属性value表
    */
@ApiModel(value="属性value表")
@Getter
@Setter
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_attribute_value")
public class AttributeValue implements Serializable {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="编号")
    private Integer id;

    /**
     * 属性编号
     */
    @TableField(value = "attribute_key_id")
    @ApiModelProperty(value="属性编号")
    private Integer attributeKeyId;

    /**
     * 优先级
     */
    @TableField(value = "priority")
    @ApiModelProperty(value="优先级")
    private Integer priority;

    /**
     * 属性值
     */
    @TableField(value = "attribute_value")
    @ApiModelProperty(value="属性值")
    private String attributeValue;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}